package top.abilities.util.param;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ali-oss")
//@PropertySource(value = "config.properties")
public class AliOssParamVO {
    /*阿里云API的外网域名*/
    private String endpoint;
    /*阿里云API的内网域名*/
    private String innerEndpoint;
    /*阿里云API的密钥Access Key ID*/
    private String accessKeyId;
    /*阿里云API的密钥Access Key Secret*/
    private String accessKeySecret;
    /*阿里云API的bucket名称*/
//    private String bucketName;
    /*阿里云API的图片文件夹名称*/
    private String keyPicturesPrefix;
    /*阿里云API的表情文件夹名称*/
    private String keyFacePrefix;
    /*阿里云API的excel文件夹名称*/
    private String keyExcelPrefix;
    /**阿里云API的errorExcel错误文件名称**/
    private String keyErrorExcelPrefix;
    /*阿里云API的banner文件夹名称*/
    private String keyBannerPrefix;
    /*阿里云API资源地址*/
    private String ApiUrl;
    /**
     * 私有的bucket
     */
    private String bucketFescoGapPriavte;
    /**
     * 公共的bucket
     */
    private String bucketFescoGap;

    public String getBucketFescoGapPriavte() {
        return bucketFescoGapPriavte;
    }

    public void setBucketFescoGapPriavte(String bucketFescoGapPriavte) {
        this.bucketFescoGapPriavte = bucketFescoGapPriavte;
    }

    public String getBucketFescoGap() {
        return bucketFescoGap;
    }

    public void setBucketFescoGap(String bucketFescoGap) {
        this.bucketFescoGap = bucketFescoGap;
    }

    public String getApiUrl() {
        return ApiUrl;
    }

    public void setApiUrl(String apiUrl) {
        ApiUrl = apiUrl;
    }

    public String getInnerEndpoint() {
        return innerEndpoint;
    }

    public void setInnerEndpoint(String innerEndpoint) {
        this.innerEndpoint = innerEndpoint;
    }

    public String getKeyPicturesPrefix() {
        return keyPicturesPrefix;
    }

    public void setKeyPicturesPrefix(String keyPIcturesPrefix) {
        this.keyPicturesPrefix = keyPIcturesPrefix;
    }

    public String getKeyFacePrefix() {
        return keyFacePrefix;
    }

    public void setKeyFacePrefix(String keyFacePrefix) {
        this.keyFacePrefix = keyFacePrefix;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

//    public String getBucketName() {
//        return bucketName;
//    }
//
//    public void setBucketName(String bucketName) {
//        this.bucketName = bucketName;
//    }

    public String getKeyExcelPrefix() {
        return keyExcelPrefix;
    }

    public void setKeyExcelPrefix(String keyExcelPrefix) {
        this.keyExcelPrefix = keyExcelPrefix;
    }

    public String getKeyErrorExcelPrefix() {
        return keyErrorExcelPrefix;
    }

    public void setKeyErrorExcelPrefix(String keyErrorExcelPrefix) {
        this.keyErrorExcelPrefix = keyErrorExcelPrefix;
    }

    public String getKeyBannerPrefix() {
        return keyBannerPrefix;
    }

    public void setKeyBannerPrefix(String keyBannerPrefix) {
        this.keyBannerPrefix = keyBannerPrefix;
    }
}